<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>上传单个文件</title>
</head>
<body>
	<s:form action="/test/upload"  enctype="multipart/form-data">
		<s:file name="upload" label="输入要上传的文件名" />
		<br>
		<s:submit value="上传" />
	</s:form>
</body>
</html> 